package com.deri.readappliation.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "dog")
public class Dog {
    @Value("")
    private String name;
    private String age;
    private int num;
}
